package com.qdxwx.models.document;

import java.io.Serializable;
import java.util.List;

public class DocumentQuery  implements Serializable {

    private static final long serialVersionUID = -2822782984537963091L;

    //名称
    private String title;

    //机构Id
    private Integer companyId;

    //频道Id
    private Integer channelId;

    //分类Id
    private Integer typeId;

    //专业Id
    private Integer subjectId;

    //类别Id
    private Integer categoryId;

    //类别Ids
    private List<Integer> categoryIds;

    //拓展名
    private String fileExt;

    //固顶
    private Integer isTop;

    //推荐
    private Integer isElite;

    //上传者
    private Long userId;

    //审核人Id
    private Integer censorId;

    //等级id
    private Integer levelId;

    //-1驳回　0未审  1通过
    private Integer status;

    //0最新　1热门  2下载  3点赞
    private Integer orderBy;

    //是否免费
    private Integer isFree;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public List<Integer> getCategoryIds() {
        return categoryIds;
    }

    public void setCategoryIds(List<Integer> categoryIds) {
        this.categoryIds = categoryIds;
    }

    public String getFileExt() {
        return fileExt;
    }

    public void setFileExt(String fileExt) {
        this.fileExt = fileExt;
    }

    public Integer getIsTop() {
        return isTop;
    }

    public void setIsTop(Integer isTop) {
        this.isTop = isTop;
    }

    public Integer getIsElite() {
        return isElite;
    }

    public void setIsElite(Integer isElite) {
        this.isElite = isElite;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getCensorId() {
        return censorId;
    }

    public void setCensorId(Integer censorId) {
        this.censorId = censorId;
    }

    public Integer getLevelId() {
        return levelId;
    }

    public void setLevelId(Integer levelId) {
        this.levelId = levelId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(Integer orderBy) {
        this.orderBy = orderBy;
    }

    public Integer getIsFree() {
        return isFree;
    }

    public void setIsFree(Integer isFree) {
        this.isFree = isFree;
    }

    @Override
    public String toString() {
        return "DocumentQuery{" +
                "title='" + title + '\'' +
                ", companyId=" + companyId +
                ", channelId=" + channelId +
                ", typeId=" + typeId +
                ", subjectId=" + subjectId +
                ", categoryId=" + categoryId +
                ", categoryIds=" + categoryIds +
                ", fileExt='" + fileExt + '\'' +
                ", isTop=" + isTop +
                ", isElite=" + isElite +
                ", userId=" + userId +
                ", censorId=" + censorId +
                ", levelId=" + levelId +
                ", status=" + status +
                ", orderBy=" + orderBy +
                '}';
    }
}
